<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>{$page_title}</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="{$admin_temp_path}/css/general.css" rel="stylesheet" type="text/css" />
	<link href="{$admin_temp_path}/css/main.css" rel="stylesheet" type="text/css" />
	<script src="{$url_path}/js/jquery.js"></script>
	<script src="{$url_path}/js/utils.js"></script>
	<script src="{$admin_temp_path}/js/listtable.js"></script>
	{literal}
	<script>
		function check()
		{
			if(confirm("您确认删除这些吗？"))
			{
				return true;
			}
			else
			{
				return false;
			}
		}

		function check_del(url)
		{
			if(confirm("您是否确认删除该用户！"))
			{
				location.href = url;
			}


			return;
		}
	</script>
	{/literal}
</head>
<h1>
	<!--<span class="action-span"><a href="user.php?action=add_user">添加会员</a></span>-->
	<span class="action-span1"><a href="">{$sys_name} 管理中心</a>  - {$page_title} </span>
	<div style="clear:both"></div>
</h1>
<body>
<div class="form-div">
	<form action="dingwei.php" name="searchForm" onsubmit="">
		<img src="{$admin_temp_path}/images/icon_search.gif" width="26" height="22" border="0" alt="SEARCH" />
		关键字 <input type="text" placeholder="请输入昵称"  name="keyword" id="keyword" value="{$keyword}"/>
		<input type="submit" value="搜索" class="button" />
	</form>
</div>
<form method="post" action="dingwei.php?action=del_sel_user" name="listForm" onsubmit="return check()">
	<div class="list-div" id="listDiv">
		<table width="98%" border="0" align="center" cellpadding="0" cellspacing="1">
			<tr align="center">
				<th width="5%"><input onclick='listTable.selectAll(this, "checkboxes")' type="checkbox" name="checkbox[]">编号</th>
				<th width="8%">昵称</td>
				<th width="25%">位置</td>
				<th width="8%">添加时间</td>
				<th width="5%">类型</td>
				<th width="8%">经度</td>
				<th width="8%">纬度</td>
				<th width="10%">订单号</td>
				<th width="10%">发起用户</td>
				<th width="15%">操作</td>
			</tr>
			{section name=loop loop=$user_list}
			<tr align="center">
				<td><span><input name="checkboxes[]" type="checkbox" value="{$user_list[loop].userid}" />{$user_list[loop].userid}</span></td>
				<td>{$user_list[loop].nickname}</td>
				<td>{$user_list[loop].address}</td>
				<td>{$user_list[loop].add_time_format}</td>
				<td>{if $user_list[loop].type == 1}大转盘{else}红包{/if}</td>
				<td>{$user_list[loop].lng}</td>
				<td>{$user_list[loop].lat}</td>
				<td>{$user_list[loop].ordersn}</td>
				<td>{$user_list[loop].sname}</td>
				<td>
					<a href="dingwei.php?action=mod_dingwei&userid={$user_list[loop].userid}&now_page={$now_page}">查看地图</a> |
					<a href="javascript:void(0);" onclick="check_del('dingwei.php?action=del_user&userid={$user_list[loop].userid}&nowpage={$nowpage}');">删除</a>
				</td>
			</tr>
			{/section}
			<tr>
				<td>
					<!--<input type="submit" value="批量删除" id="btnSubmit" name="btnSubmit" class="button" disabled="true" />-->
					<input type="hidden" value="{$now_page}" name="now_page"/>
					<input type="hidden" value="{$admin_temp_path}" id="admin_temp_path"/>
				</td>
				<td colspan="11" align="right">&nbsp;&nbsp;&nbsp;&nbsp;{$pageshow}</td>
			</tr>
		</table>
	</div>
</form>
</body>
</html>
<script language="JavaScript" src="{$admin_temp_path}/js/select.js"></script>